package a5.grammar.annotations;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
 * An annotation for to specifying to which {@link a5.grammar.interfaces.Grammar Grammars} a class belongs.
 * Currently, this is only used for {@link a5.grammar.interfaces.Production Productions}. 
 * 
 * @author Jason Campos
 * @version Assignment 5, CS 152 (Programming Paradigms) Fall 2012, Jeffrey Smith
 */
@Documented
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Grammar {
	Class<? extends a5.grammar.interfaces.Grammar>[] clazz();
}
